package org.example.captcha.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j // lombok提供的注解 用于 打印日志
@RequestMapping("/logger2")
@RestController
public class LoggerController2 {

    @RequestMapping("/log")
    public String log(){
        log.info("=======info级别的日志=======");
        return "success";
    }
}
